/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rapidp2p.backend;

import java.net.*;
/**
 *
 * @author LF
 */
public class DirectoryEntry {
    private String filename;
    private String size;
    private String hostname;
    
    public String getHostname(){
        return this.hostname;
    }
    
    public void setHostname(String hostname){
        this.hostname = hostname;
    }
    
    public String getFilename(){
        return this.filename;
    }
    public void setFilename(String filename){
        this.filename = filename;
    }
    public String getFileSize(){
        return this.size;
    }
    public void setFileSize(String filesize){
        this.size = filesize;
    }
    
    public DirectoryEntry(String filename, String filesize, String hostname){
        this.filename = filename;
        this.size = filesize;
        this.hostname = hostname;
    }
    
    public DirectoryEntry(){
        this.filename = null;
        this.size = null;
        this.hostname = null;
    }
}
